package ace.module.captcha.api;

import ace.cmp.core.model.R;
import ace.cmp.sdk.api.SdkApi;
import ace.module.captcha.api.model.dto.CaptchaApplicationDto;

/**
 * 图形验证码应用 api.
 *
 * @author Caspar
 */
public interface CaptchaApplicationApi extends SdkApi<CaptchaApplicationDto, Long> {

  R<CaptchaApplicationDto> getByKey(String key);

  R<CaptchaApplicationDto> getAndCheckNotNullAdminApplication();
}